
.page-content.article-page {
    padding-top: 80px;
    padding-bottom: 60px;
    background-color: #fdfdfd;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}


.article-page-nav {
    background-color: #fff;
    border-bottom: 1px solid #e9e9e9;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 60px;
    transition: top 0.3s ease-in-out;
}

.article-nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.article-page-nav .nav-left,
.article-page-nav .nav-right {
    flex-shrink: 0;
}

.article-page-nav .nav-center {
    flex-grow: 1;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 15px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.back-button:hover {
    background-color: #f0f0f0;
    color: #000;
}

.back-button .icon-arrow-left {
    margin-right: 6px;
    stroke-width: 2.5px;
}

.article-nav-title-placeholder {
    font-size: 1.05rem;
    font-weight: 500;
    color: #333;
}


.share-article-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-article-btn:hover {
    color: #000;
}

.share-article-btn svg {
    width: 20px;
    height: 20px;
}


.article-header {
    margin-bottom: 40px;
    text-align: center;
    padding-top: 20px;
}

.article-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 15px;
}

.article-meta {
    font-size: 0.9rem;
    color: #7f8c8d;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin-bottom: 30px;
}

.article-meta .meta-item {

}

.article-featured-image {
    margin-bottom: 40px;
    border-radius: 6px;
    overflow: hidden;
    line-height: 0;
}

.article-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}


.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #34495e;
}

.article-content .lead-paragraph {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 2em;
    font-weight: 400;

}

.article-content p {
    margin-bottom: 1.5em;
}

.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #2c3e50;
    margin-top: 2.5em;
    margin-bottom: 1em;
    line-height: 1.4;
    font-weight: 600;
}

.article-content h2 {
    font-size: 2rem;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 0.3em;
}

.article-content h3 {
    font-size: 1.6rem;
}

.article-content h4 {
    font-size: 1.3rem;
}

.article-content a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.article-content a:hover,
.article-content a:focus {
    color: #2980b9;
    border-bottom-color: #2980b9;
}

.article-content strong, .article-content b {
    font-weight: 600;
    color: #2c3e50;
}

.article-content em, .article-content i {
    font-style: italic;
}


.article-image {
    margin: 2.5em 0;
    text-align: center;
}

.article-image.align-left {

    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
    max-width: 50%;
}

.article-image.align-right {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
    max-width: 50%;
}


.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-image figcaption {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 0.8em;
    text-align: center;
    padding: 0 10%;
}


.article-content blockquote {
    margin: 2em auto;
    padding: 1.2em 1.8em;
    border-left: 4px solid #bdc3c7;
    background-color: #f8f9f9;
    color: #555;
    font-style: italic;
    max-width: 90%;
}

.article-content blockquote p {
    margin-bottom: 0.5em;
}

.article-content blockquote p:last-child {
    margin-bottom: 0;
}

.article-content blockquote footer,
.article-content blockquote cite {
    display: block;
    font-style: normal;
    font-size: 0.9em;
    color: #7f8c8d;
    text-align: right;
    margin-top: 0.8em;
}


.article-content ul,
.article-content ol {
    margin: 1.5em 0 1.5em 1.5em;
    padding-left: 1.5em;
}

.article-content ul li,
.article-content ol li {
    margin-bottom: 0.6em;
    padding-left: 0.5em;
}

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}


.article-content pre {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1em;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 1.5em 0;
}

.article-content code {
    background-color: #f4f4f4;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    color: #c7254e;
}

.article-content pre code {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    color: inherit;
    font-size: inherit;
}


.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    font-size: 0.9rem;
}

.article-tags, .article-share {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.article-tags span, .article-share span {
    color: #34495e;
    font-weight: 500;
    margin-right: 10px;
}

.tag-link, .share-link {
    display: inline-block;
    background-color: #ecf0f1;
    color: #34495e;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.tag-link:hover, .share-link:hover {
    background-color: #bdc3c7;
    color: #2c3e50;
}


.article-comments {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.article-comments h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.article-comments p {
    color: #777;
    font-style: italic;
}


@media (max-width: 768px) {
    .article-page-nav {
        height: 50px;
    }

    .page-content.article-page {
        padding-top: 70px;
    }

    .back-button {
        padding: 6px 8px;
        font-size: 0.9rem;
    }

    .article-nav-title-placeholder {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .article-title {
        font-size: 2.2rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-content .lead-paragraph {
        font-size: 1.15rem;
    }

    .article-content h2 {
        font-size: 1.7rem;
    }

    .article-content h3 {
        font-size: 1.4rem;
    }

    .article-meta {
        font-size: 0.85rem;
        gap: 6px 15px;
    }

    .article-image.align-left,
    .article-image.align-right {
        float: none;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .article-content blockquote {
        max-width: 100%;
        padding: 1em 1.2em;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.9rem;
    }

    .article-nav-title-placeholder {

    }

    .article-tags, .article-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-tags span, .article-share span {
        margin-bottom: 8px;
    }
}